package com.cmc.cloud.cmclink.doc.constants.errorconstant;

import com.cmes.framework.common.exception.ErrorCode;

/**
 * 舱单主错误码常量类
 *
 * @author chenzheng
 */
public class ManifestErrorCodeConstants {
    public static final ErrorCode MANIFEST_NOT_EXISTS = new ErrorCode(1004063000, "舱单不存在");
    public static final ErrorCode MANIFEST_EXISTS = new ErrorCode(1004063001, "舱单已存在");
    public static final ErrorCode MANIFEST_ERROR_NUM = new ErrorCode(1004063002, "货物或相关方不存在");
    public static final ErrorCode MANIFEST_PART_NOT_EXISTS = new ErrorCode(1004063003, "舱单部分不存在");
    public static final ErrorCode MANIFEST_USER_LIMIT = new ErrorCode(1004063004, "无权限查询");
    public static final ErrorCode MANIFEST_CONFIRMS_LIMIT = new ErrorCode(1004063005, "状态错误");
    public static final ErrorCode MANIFEST_CNTR_SUM_ERROR = new ErrorCode(1004063006, "{0}审批错误");
    public static final ErrorCode MANIFEST_SLAVE_LIMIT = new ErrorCode(1004063007, "主舱单已审核，不能添加子舱单");
    public static final ErrorCode MANIFEST_SLAVE_EXIST = new ErrorCode(1004063008, "子舱单已经存在");
    public static final ErrorCode MANIFEST_CONFIRMS_ERROR = new ErrorCode(1004063009, "已审核不能修改");
    public static final ErrorCode MANIFEST_CHECK_NULL = new ErrorCode(1004063010, "不能为空");
    public static final ErrorCode MANIFEST_CHECK_DATA = new ErrorCode(1004063011, "{0}与箱数据不一致");
    public static final ErrorCode MANIFEST_CHECK_DATA_SAME = new ErrorCode(1004063012, "{0}数据重复");
    public static final ErrorCode MANIFEST_CHECK_MAIN_DATA = new ErrorCode(1004063013, "{0}在主舱单箱中不存在");
    public static final ErrorCode MANIFEST_CHECK_SO_DATA = new ErrorCode(1004063014, "未查到SO的预配箱量信息");
    public static final ErrorCode MANIFEST_CHECK_SO_CNTR_DATA = new ErrorCode(1004063015, "{0}未匹配到SO的预配箱信息");
    public static final ErrorCode MANIFEST_CHECK_SO_CNTR_NUM_DATA = new ErrorCode(1004063016, "{0}不能超过SO的预配箱数量");
    public static final ErrorCode MANIFEST_CHECK_LCL_ERROR = new ErrorCode(1004063017, "检查拼箱状态失败");
    public static final ErrorCode MANIFEST_MASTER_ID_NOT_EXIST = new ErrorCode(1004063018, "主舱单id和次舱单编号不能为空");
    public static final ErrorCode MANIFEST_CHECK_STR_ERROR = new ErrorCode(1004063019, "{0}有非英文字符");
    public static final ErrorCode MANIFEST_CHECK_CNTR_ERROR = new ErrorCode(1004063020, "{0}箱号不符合校验规则");
    public static final ErrorCode MANIFEST_CHECK_MAIN_ERROR = new ErrorCode(1004063021, "主舱单数据不完整");
    public static final ErrorCode MANIFEST_CHECK_CNTR_TYPE_ERROR = new ErrorCode(1004063022, "{0}箱型、箱尺寸不一致");
    public static final ErrorCode MANIFEST_CHECK_CNTR_PAY_ERROR = new ErrorCode(1004063023, "{0}拼箱时付费条款不一致");
    public static final ErrorCode MANIFEST_CARGO_ERROR = new ErrorCode(1004063024, "货物类型不能修改");
    public static final ErrorCode MANIFEST_CARGO_TYPE_ERROR = new ErrorCode(1004063025, "货类是RF、RD，箱型必须是RF、 RH");
    public static final ErrorCode MANIFEST_CARGO_TYPE_OTHER_ERROR = new ErrorCode(1004063026, "货类必须是AK，箱型为FR、OT、HF");
    public static final ErrorCode MANIFEST_CNTR_ALL_ERROR = new ErrorCode(1004063027, "{0}数据不一致");
    public static final ErrorCode MANIFEST_CHECK_SI_DATA = new ErrorCode(1004063028, "{0}与SI数据不一致");
    public static final ErrorCode MANIFEST_CHECK_NULL_ADRESS = new ErrorCode(1004063029, "{0}地址不能为空");
    public static final ErrorCode MANIFEST_CHECK_NULL_DATA = new ErrorCode(1004063030, "{0}数据不完整");
    public static final ErrorCode MANIFEST_NOT_CONFIRM = new ErrorCode(1004063031, "舱单未确认");
    public static final ErrorCode MANIFEST_CHECK_CNTR_RULE_ERROR = new ErrorCode(1004063032, "箱号不符合校验规则");
    public static final ErrorCode MANIFEST_CHECK_DATA_CARGO_WEIGHT = new ErrorCode(1004063033, "货物毛重与箱数据不一致");
    public static final ErrorCode MANIFEST_CHECK_DATA_CARGO_QUANTITY = new ErrorCode(1004063034, "货物件数与箱数据不一致");
    public static final ErrorCode MANIFEST_CHECK_DATA_CARGO_MEASUREMENT = new ErrorCode(1004063035, "货物体积与箱数据不一致");
    public static final ErrorCode MANIFEST_CHECK_MULTI_ERROR = new ErrorCode(1004401044, "非多式联运订舱号{0}");
    public static final ErrorCode MANIFEST_CHECK_CLC_SIZE_ERROR = new ErrorCode(1004063036, "舱单存在拼箱货，则至少要有2个分舱单存在");
    public static final ErrorCode MANIFEST_CHECK_CLC_CONSIGNEE_ERROR = new ErrorCode(1004063037, "存在拼箱货的分舱单，收货人必须一致");
    public static final ErrorCode MANIFEST_CHECK_COMMIDITY_CN_ERROR = new ErrorCode(1004063038, "装货港属于中国，货物的中文品名必输");


}